package com.easylinkin.linkappapi.roster.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.roster.dto.LaborTeamDTO;
import com.easylinkin.linkappapi.roster.entity.LaborTeam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LaborTeamMapper extends BaseMapper<LaborTeam> {

    IPage<LaborTeam> listPage(Page page, @Param("customQueryParams") LaborTeamDTO customQueryParams);

    List<LaborTeam> listPage(@Param("customQueryParams") LaborTeamDTO customQueryParams);
}